<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../animate/animate.min.css">
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .box{
            width: 200px;
            height: 200px;
            margin: 50px;
            background-color: orchid;
        }
        /* .box:hover{
            animation-name: shake;
        } */
    </style>
</head>
<body>
    <div class="box animated jello faster"></div>

    <script src="../jquery/jquery.min.js"></script>
    <script>
        $('.box').on('mouseenter', function () {
            $(this).addClass('jello').on('animationend', function () {
                $(this).removeClass('jello')
            })
        })
    </script>
</body>
</html>